﻿using System;
using System.Runtime.Serialization;

namespace BussisnesException{
	
    public class ObjectNotFoundException : Exception{
        
		public ObjectNotFoundException(Exception e, Object pk):
    		base("El Objeto con el id: " + pk +" no existe", e){
		}
		
		public ObjectNotFoundException(Exception e, String message):
    		base(message, e){
		}
		public ObjectNotFoundException():
    		base("No se encontro el objeto"){
		}
    }
}
